<extend name="desktop_default/template/base_index2" />

<block name="area_header">

    <style type="text/css">
        .all {
            width:70%;
            background-color: #F5F5F5;
            margin-left: 25%;
        }
        .tp {
            width: 50%;
            margin: 0 auto;
            padding: 80px;
        }
        .all font {
            margin-left: 40px;
        }

        .tab {
            padding: 30px;
        }
        .tabs {
            height: 466px;
            padding: 30px;
            background-color: #FFFFFF;
        }
        body{background-color: #F5F5F5;}
        .all a {
            color: #000000;
        }
        .all a:hover {
            color: orangered;
        }
        .sed {
            color: orangered;
        }
        .am-tab-panel {
            background-color: #FFFFFF;
        }
        .mm {
            margin-top: 32px;
            margin-left: 110px;
        }
        .headimg {
            float: left;
            font-size: 12px;
            margin-top: 130px;
            margin-left: 100px;
        }
        .tabs-right {
            width: 60%;
            float: right;
            padding: 10px;
        }
        .tabs-right button{float: right;}
        .info{  }
        .info table{margin: 0 auto;}
        .info table tr td{padding: 10px;}
    </style>
</block>

<block name="area_body">
    <include file="desktop_default/width/right" />
    <include file="desktop_default/width/top"/>
    <div class="container">
        {:W('Partials/nav_group')}
    </div>
    <div class="shop-container" style="background: white;">
        <a href="{:U('Shop/User/index')}"><img height="70px" style="margin-left: -3px; margin-top: -5px;" src="__IMG__/userinfo.png"></a>
        <font color="#8C8C8C">个人信息很重要哦!</font>
    </div>
    <div class="shop-container am-cf">
        <div class="div_left" >
            <include file="desktop_default/width/list"/>
        </div>

        <div class="div_right">
            <h2 class="am-text-muted title">我的优惠码</h2>
            <table class="am-table am-table-bordered">
                <thead>
                    <tr>
                        <th>使用过的优惠码</th>
                        <th>获得时间</th>
                    </tr>
                </thead>
                <tbody>
                    <volist name="list" id="vo">
                        <tr>
                            <td>{$vo['idcode']}</td>
                            <td>{:date('Y-m-d',$vo['get_time'])}</td>
                        </tr>
                    </volist>
                </tbody>
            </table>
            {$show}
        </div>
    </div>








    <include file="desktop_default/width/floor" />
    <include  file="desktop_default/partial/avatar" />

</block>

<block name="area_footer">
    <script type="text/javascript">
        $(function(){
            $('.tomessage').click(function(){
            })

        })
    </script>
</block>